{include file="public/header" /}
<style>
    table.imagetable {
        font-family: verdana,arial,sans-serif;
        font-size:20px;
        color:#333333;
        border-width: 1px;
        border-color: #999999;
        border-collapse: collapse;
    }
    table.imagetable th {
        background:#b5cfd2;
        border-width: 1px;
        padding: 8px;
        border-style: solid;
        border-color: #999999;
        width: 180px;
    }
    table.imagetable td {
        background:#dcddc0;
        border-width: 1px;
        padding: 8px;
        border-style: solid;
        border-color: #999999;
    }
    .layui-form-item{
        margin-bottom: 5px
    }
    .layui-form-label{
        width: 172px;
    }
    .layui-input-block{
        margin-left: 180px
    }

</style>
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>订单详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">订单编号：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.order_number}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">订单总量：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.order_quantity}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">订单总价：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.order_total_price}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">支付状态：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.order_is_pay == 1 ? '未支付' : '已支付'}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">订单状态：</label>
                            <div class="layui-input-block">
                                {if $order.order_status == 1}
                                <input type="text" value="待确认" class="layui-input" disabled>
                                {elseif $order.order_status == 2}
                                <input type="text" value="待付款" class="layui-input" disabled>
                                {elseif $order.order_status == 3}
                                <input type="text" value="待发货" class="layui-input" disabled>
                                {elseif $order.order_status == 4}
                                <input type="text" value="待收货" class="layui-input" disabled>
                                {elseif $order.order_status == 5}
                                <input type="text" value="已收货" class="layui-input" disabled>
                                {else /}
                                <input type="text" value="已取消" class="layui-input" disabled>
                                {/if}
                            </div>
                        </div>



                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label"><h2>提交用户：</h2></label>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">提交人_姓：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.user_xing}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">提交人_名：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.user_name}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">联系方式：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.user_phone}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">公司：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.user_company}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">职位：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.user_position}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">邮编：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.user_email}" class="layui-input" disabled>
                            </div>
                        </div>



                        {if $order.order_status == 4 || $order.order_status == 5}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label"><h2>物流信息：</h2></label>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">物流公司：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.order_wuLiu_company}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">物流单号：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.order_wuLiu_code}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">物流描述：</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" style="width: 400px" disabled>{$order.order_wuLiu_desc}</textarea>
                            </div>
                        </div>
                        {/if}



                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label"><h2>时间：</h2></label>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">创建时间：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.order_time}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">确认时间：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.order_verify_time}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">付款时间：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.order_pay_time}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">发货时间：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.order_send_time}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">收货时间：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.order_over_time}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md6">
                            <label class="layui-form-label">取消时间：</label>
                            <div class="layui-input-block">
                                <input type="text" value="{$order.order_cancel_time}" class="layui-input" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

{include file="public/footer" /}

</body>
</html>